//
//  HYBaseResModel.h
//  YiMiSchool
//
//  Created by 吴凯强 on 2021/1/7.
//  Copyright © 2021 yimilan. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "BaseHttpConfig.h"

NS_ASSUME_NONNULL_BEGIN

/**
 HYNetwork 请求返回的基础数据模型。
 */
@interface HYBaseResModel : NSObject

@property (nonatomic, assign) YMLServerCode code;

@property (nonatomic, strong, nullable) id data;

@property (nonatomic, copy  , nullable) NSString *msg;

@property (nonatomic, copy) NSString *timestamp;

@property (nonatomic, assign) NSInteger iTotalRecords;

@property (nonatomic, assign) NSInteger iTotalDisplayRecords;

@property (nonatomic, assign) NSInteger subCode;

@property (nonatomic, copy  , nullable) NSString *subMsg;

@property (nonatomic, strong, nullable) id body;

@end

NS_ASSUME_NONNULL_END
